package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @author ：zfr
 * @date ：2021/11/3 13:11
 */
@FieldTypeAnnotation(tableName = "t_l_ck_fishpond_task", desc = "鱼塘任务日志", autoSave = true, uploadCk = true)
public class LogFishPondTask extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "任务id")
    private int taskId;
    @FieldTypeAnnotation(desc = "是否领奖")
    private boolean isGetReward;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogFishPondTask(long userId, int taskId, boolean isGetReward, String reward) {
        this.userId = userId;
        this.taskId = taskId;
        this.isGetReward = isGetReward;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }
}
